package com.wx.model.enums;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 微信支付交易状态枚举
 *
 * @author liaogui
 * @date 2023/12/09
 */
@ApiModel("微信支付回调交易状态枚举")
public enum WxPayTradeStateEnum {
    SUCCESS("SUCCESS", "支付成功"),
    REFUND("REFUND", "转入退款"),
    NOTPAY("NOTPAY", "未支付"),
    CLOSED("CLOSED", "已关闭"),
    REVOKED("REVOKED", "已撤销"),
    USERPAYING("USERPAYING", "用户支付中"),
    PAYERROR("PAYERROR", "支付失败")
    ;
    @ApiModelProperty("编码")
    private String code;
    @ApiModelProperty("描述")
    private String des;

    WxPayTradeStateEnum(String code, String des) {
        this.code = code;
        this.des = des;
    }
}
